favorites = {}
while True:
    name = input("What is your name?")
    place = input("where is your favorite place?")
    favorites[name] = place
    x = input("是否继续输入？(yes/no)")
    if x == 'no':
        break

print(favorites)
for name,place in favorites.items():
    print(name + "梦想的度假胜地是" + place)
